package com.practice.J2E.util.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author kayn
 * @create 2023-12-21 上午 10:31
 */
@Data
public class TestExport {

    /**
     * 订单号
     */
    @ExcelProperty(value = {"订单号"})
    private String orderNo;

    /**
     * 主单号
     */
    @ExcelProperty(value = {"主单号"})
    private String masterNo;

    /**
     * 构造器
     * @param orderNo
     * @param masterNo
     * @return
     */
    public static TestExport init(String orderNo, String masterNo) {

        TestExport export = new TestExport();

        export.orderNo = orderNo;

        export.masterNo = masterNo;

        return export;

    }

}
